const mongoose = require('mongoose');

const Xnxis = new mongoose.Schema({
  id: String,
  title: String, //提醒的消息
  ti: String, //工单类型
  icon: String, //icon图片地址
  information: String, // 工单类型
  info_time: String, //icon图片地址
  timeIcon: String, //icon图片地址
  promoter: String,
  author: String,
  state: String,
  urgency: String,
  initiating: String,
  add_time: String,
  add_list: Array,
  details: String,
  info_time: String,
  info_types: Array,
});

const xnxi = mongoose.model('xnxi', Xnxis);

module.exports = {
  xnxi,
};
